package com.dinghui.salary.pojo;

import lombok.Getter;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@Table(name = "salary_type")
public class SalaryType implements Serializable {
    /**
     * 主键id
     */
    @Id
    private String id;

    /**
     * 序号
     */
    private String orderNum;

    /**
     * 工资类型名称
     */
    @Column(name = "field_name")
    private String fieldName;

    /**
     * 字段描述
     */
    @Column(name = "field_desc")
    private String fieldDesc;

    /**
     * 字段类型
     */
    @Column(name = "field_type")
    private String fieldType;

    /**
     * 字段长度
     */
    @Column(name = "field_size")
    private Integer fieldSize;

    /**
     * 是否删除,逻辑删除
     */
    @Column(name = "is_delete")
    private Boolean isDelete;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private String createTime;

    /**
     * 更新人
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private String updateTime;

}